Fix/replace prettier with biome#330
Conversation
- Removed archived mirrors-prettier hook - Enhanced biome-check hook to handle JS, CSS, and JSON - Updated biome.json to handle all supported files - Fixed typo in .pre-commit-config.yaml (minimum_pre_commit_version) - Applied automated formatting fixes via Biome
f9efb24 to
6392db7
Compare
|
I have resolved the merge conflicts and fixed all the Biome linting errors (unused variables, imports, and CSS priorities). |
|
Are we able to do everything but the CSS ? |
|
I have updated the configuration to exclude CSS files from Biome and reverted the changes to style.css. Biome is now set to run only on JS and JSON files. |
|
There was a problem hiding this comment.
Yes it's required This file contains custom theming the Developer Tools panel Matrix effects and user card styling that Tailwind doesn't cover. It's linked in index.njk and bio.njk I have reverted it to match main in this PR.
There was a problem hiding this comment.
what about the deleted lines from 915 onwards ?
There was a problem hiding this comment.
I have properly reverted the file to match main. The deleted lines have been restored. The file is now identical to main with no changes in this PR.
There was a problem hiding this comment.
Fixes #318
Replaced the archived Prettier pre-commit hook with Biome for faster linting and formatting of JS, CSS, and JSON files. This PR updates
.pre-commit-config.yaml
and
biome.json
, and includes automated formatting fixes for existing scripts and config files.
Verified locally with pre-commit run --all-files.